<div class="sectionHeader">

    <button type="button" onclick="takeout.del('${ctxPath!}/musicbg/del',1, '')" class="btn btn-info mainButtonRight">
        全部删除
    </button>
    <button type="button" class="btn btn-info mainButtonRight"><a
            href="javascript:takeout.openEdit('${ctxPath!}/musicbg/edit', null);" class="mianAcolor">+ 新增</a></button>

</div>
<form id="queryForm" action="${ctxPath!}/musicbg/list" method="POST">
    <div class="sectionForm">
        <div class="form-inline">
            <div class="sectionFormFirstRow">
                <!--<button type="button" onclick="takeout.ajaxFormMainPanel('queryForm')" class="btn btn-info"-->
                        <!--style="width:90px;">查询-->
                <!--</button>-->
            </div>
        </div>
    </div>
    <div class="sectionFormContent">
        <div class="sectionFormHeadline">
        </div>
        <hr>
        <table class="table table-bordered table-hover">
            <thead>
            <tr>
                <th style="width: 50px;"><a href="javascript:takeout.selectAll();">全选</a></th>
                <th>标题</th>
                <th>链接</th>
                <th>节日类型</th>
                <th>ID</th>
                <th style="width: 70px;">操作</th>
            </tr>
            </thead>
            <% for(news in data.list){ %>
            <tr class="a">
                <td style="width: 50px;text-align:center"><input class="a" type="checkbox" value="${news.id}"/></td>
                <td>${news.title!}</td>
                <td>${news.url!}</td>
                <td>${oneToManyFunc(news.festival_type!'无', 'category', 'name')}</td>
                <td>${news.id!}</td>
                <td style="width: 70px;">
                    <a id="a" href="javascript:takeout.openEdit('${ctxPath!}/musicbg/edit?id=${news.id!}', null)">修改</a>
                    <a class="a" href="javascript:takeout.del('${ctxPath!}/musicbg/del?cid=${cid!}' ,0, '${news.id}')">删除</a>
                </td>
            </tr>
            <%}%>
        </table>
        <div id="splitPageDiv" class="splitPage">
            <% include("../common/comm_page.html", {"divId" : "manage_content", "formId" : "queryForm", "splitPageDiv" :
            "splitPageDiv"}){} %>
        </div>
    </div>
</form>